These data structures describe the sources to an effect. The SourceData data structure contains a pointer to raw image compression manager image data, if the effect is being executed outside of a QuickTime movie, or to an effect that acts as the source, if the effect is being executed as part of an effect track in a QuickTime movie. The EffectSourcePtr data structure holds information about the type of source, as well as pointers to the track data of the effect and to the next source in the input chain.
typedef struct EffectSource EffectSource;
typedef EffectSource *EffectSourcePtr;
union SourceData {
CDSequenceDataSourcePtr image;
EffectSourcePtr effect;
};
typedef union SourceData SourceData;
struct EffectSource {
long effectType;
Ptr data;
SourceData source;
EffectSourcePtr next;
};
| Previous | Chapter Contents | Chapter Top | Next |